<style type="text/css">
    .bjui-pageHeader{
        font-size: 18px;
        font-weight: bold;
    }
    .form{
        padding: 15px;
    }
    .form dl {
        overflow: hidden;
        padding-top: 15px;
    }

    .form dt {
        color: #666;
        float: left;
        font-size: 14px;
        padding: 3px 0 0;
        width: 11%;
    }
    .form dd {
        float: left;
        line-height: 22px;
    }
    dd.desc {
        height: 30px;
        padding: 0 10px;
        width: 150px;
    }

    .awords {
        padding: 10px;
    }
    .awords li {
        line-height: 30px;
    }
    
        
</style>
<div class="bjui-pageContent">
    <form action='<if condition="$action eq 'edit'">{:U('Wechat/awordsEdit')}<else/>{:U('Wechat/awords')}</if>' method="post" data-toggle="validate">
        <div class="awords">
            <ul>
                <li>
                    <span>标题:</span>
                    <input type="text" name="title" value="{$words.title}" class="title" data-rule="required" data-tip="请填写标题" data-ok="OK"></li>
                <li>
                    <span>关键词:</span>
                    <input type="text" name="keywords" value="{$words.keywords}" class="title" data-rule="required" data-tip="请填写关键字" data-ok="OK"></li>
                <li>
                    <span>自动回复信息:</span>
                    <input type="radio" name="iszidong" value="0" <if condition="$words['iszidong'] eq 0">checked="checked"</if>
                >否
                <input type="radio" name="iszidong" value="1" <if condition="$words['iszidong'] eq 1">checked="checked"</if>
            >是
        </li>
        <li>
            <span>
                回复内容:支持HTML标签，如
                <xmp><a href='http://www.0771mc.com'>铭成龙毅</a></xmp>
            </span>
            <textarea name="content" cols="50" rows="8" id="content" data-rule="required" data-tip="请填写回复内容" data-ok="OK">{$words.content}</textarea>
        </li>
        <li>
                    <span>排序:</span>
                    <input type="text" name="sort" value="{$words.sort}" class="title" data-rule="required;digits" data-tip="请填写排序" data-ok="OK"></li>
    </ul>
    <div class="subs">
        <if condition="$action eq 'edit'">
            <input type="hidden" name="id" value="{$words.id}" id="id"></if>
        <input type="hidden" value="{$action}" name="action"></div>
</div>
</form>
</div>
<div class="bjui-pageFooter">
<ul>
<li>
    <button type="button" class="btn-close" data-icon="close">关闭</button>
</li>
<li>
    <button data-icon="save" class="btn btn-default" type="submit">保存</button>
</li>
</ul>
</div>